unit TRefOrderWorker;

interface

uses
  Windows, Classes, SysUtils, uDataTransferObject, uBasicDAOAdapter;

type
  TRefOrderWorkerVO = class(TDataTransferObject)
  private
    FWorkNo: String;
    FDispatchNo:String;
    FStaffId: string;
    FCreateTime: string;
    FStartTime:String;
    FEndTime:String;
    FWorkStatus:string;
    FOperId:String;
    FInfo1:String;
    FInfo2:String;
  published
    property work_no: string index 0 read FWorkNo write FWorkNo;
    property dispatch_no: string index 1 read FDispatchNo write FDispatchNo;
    property staff_id: string index 2 read FStaffId write FStaffId;
    property create_time: string index 3 read FCreateTime write FCreateTime;
    property start_time: String index 4 read FStartTime write FStartTime;
    property end_Time: string index 5 read FEndTime write FEndTime;
    property work_status: string index 6 read FWorkStatus write FWorkStatus;
    property oper_id: string index 7 read FOperId write FOperId;
    property info1: string index 8 read FInfo1 write FInfo1;
    property info2: string index 9 read FInfo2 write FInfo2;
  public
    constructor Create;
    procedure Reset();
  end;

implementation

constructor TRefOrderWorkerVO.Create;
begin
  inherited Create;
  tbName := 'inf_ref_order_worker';
  SetLength(GridInfo, 5);
end;

procedure TRefOrderWorkerVO.Reset();
begin
  FWorkNo:='-999';
  FDispatchNo:='-999';
  FStaffId:='-999';
  FCreateTime:='-999';
  FStartTime:='-999';
  FEndTime:='-999';
  FWorkStatus:='-999';
  FOperId:='-999';
  FInfo1:='-999';
  FInfo2:='-999';
end;

end.
